<?php
  use_helper('jQuery', 'Form');
?>
<?php echo select_tag('predmet', options_for_select($predmets), array("class" => "gr_unos_predmeti", "onchange" => jq_remote_function(array('form' => 'id=this.id', 'update' => 'dnevnik_container', 'url' => 'razred/grupniDnevnik?razred_id='.$sf_request->getParameter('razred_id'), 'loading'  => '$("#indicator").show()', 'complete' => '$("#indicator").hide()')))) ?>

<div id="feedback">
</div>

<div id="dnevnik_container">
</div>